package com.sugou.services.support;

import java.io.Serializable;
import java.util.List;

import com.sugou.model.core.IdEntity;

public interface Service<E extends Serializable> extends Serializable {
	
	Number save(E entity);
	
	Number remove(E entity);
	
	List<E> search(CharSequence stat);
	
	IdEntity getEntity(Class cls,Serializable id);
}
